package com.mdhw.system.entity;

import com.mdhw.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper =true)
@EqualsAndHashCode(callSuper =true)
public class SysRole extends BaseEntity  implements Serializable {

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称")
    private String name;

    /**
     * 角色code
     */
    @ApiModelProperty(value = "角色code")
    private String code;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "是否开启")
    private String isOpen;



    private static final long serialVersionUID = 1L;
}
